﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DimMock
{
    /// <summary>
    /// Tags a property with a given 
    /// </summary>
    [AttributeUsage(AttributeTargets.Property)]
    public sealed class DimMockAttribute : Attribute
    {
        private MockCategory category;

        /// <summary>
        /// Initializes a new instance of the <see cref="DimMockAttribute"/> class.
        /// </summary>
        /// <param name="category">The category.</param>
        public DimMockAttribute(MockCategory category)
        {
            this.category = category;
        }
        
        /// <summary>
        /// Gets or sets the category.
        /// </summary>
        /// <value>
        /// The category.
        /// </value>
        public MockCategory Category { get { return this.category; } }
    }
}
